package com.example.demo.dao;


import com.example.demo.common.BaseMapper;

import com.example.demo.domain.User;
import com.example.demo.domain.dto.FindActiveUserReqDO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("userMapper")
public interface UserMapper extends BaseMapper<User> {
    /**
     * @param req 分条件查找当前用户
     * @return
     */
    List<User> findActiveUser(FindActiveUserReqDO req);
}